placessidebar: use proper canonicalization when checking if home
authorCosimo Cecchi <cosimo@endlessm.com>
Wed, 14 May 2014 18:19:56 +0000 (11:19 -0700)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 14 May 2014 23:05:44 +0000 (16:05 -0700)
commit6ecc431c23ff284637c13bb6eccc39e114999fc6
tree086b68bc3a4fb811746d069295db206e18ec619d
parent99f36ffbb4f2ca05639c9dab5e8b6313da70c03e
placessidebar: use proper canonicalization when checking if home

Instead of just checking the string. This catches things like double
slashes, relative paths and so on.

https://bugzilla.gnome.org/show_bug.cgi?id=730142
gtk/gtkplacessidebar.c